package com.example.back.service;

import com.example.back.model.PsGame;
import com.example.back.model.SwitchGame;

import java.util.List;

public interface SwitchGameService {
    //查询所有Switch
    List<SwitchGame> findAllSwitchGame();
    List<SwitchGame> findByInformation(String information);
    List<SwitchGame> findAllSwitchGameByScore();
    List<SwitchGame> searchSType(String type);
    List<SwitchGame> selectSName(String name);
    Boolean insertSwitchGame(String name, String introduction, String yuyan, String type, double score);
    Boolean updateYuyanByID(int id, String yuyan);
    Boolean updateScoreByID(int id, double score);
    Boolean deleteSwitchGame(int id);
    String findPhotoByID(int id);
}
